package com.faneui.transfer.dal.dao;

import com.faneui.transfer.dal.model.Order;
import java.util.List;

/**
 *
 * The Table T_ORDER.
 * T_ORDER
 */
public interface OrderDAO{

    /**
     * desc:插入表:T_ORDER.<br/>
     * 
     * @param entity entity
     * @return Long
     */
    Long insert(Order entity);
    /**
     * desc:deleteById.<br/>
     * 
     * @param id id
     * @return Long
     */
    Long deleteById(Long id);
    /**
     * desc:updateById.<br/>
     * 
     * @param entity entity
     * @return Long
     */
    Long updateById(Order entity);
    /**
     * desc:queryById.<br/>
     * 
     * @param id id
     * @return Order
     */
    Order queryById(Long id);
    /**
     * desc:queryByModel.<br/>
     * 
     * @param entity entity
     * @return List<Order>
     */
    List<Order> queryByModel(Order entity);
}
